<?php if (is_home()) { ?>
<div class="links">
<?php links_menu(); ?>
</div>
<?php }?>
<div class="cb">
  </div>
</div>
<div class="footer">
  <div class="foot ma">
    <div class="foot1">
      <h3 class="es"><?php echo get_bloginfo('name') . ' - ' .  get_bloginfo('description'); ?></h3>
      <?php footer_menu(); ?>
    </div>
    <div class="foot2">
      <h3 class="es">免责声明</h3>
      <p><?php echo wp_trim_words(new_option('footer_state','本站所提供的文章资讯、软件资源、源码等内容均为作者提供、网友推荐、互联网整理而来（部分报媒/平媒内容转载自网络合作媒体），仅供学习参考，如有侵犯您的版权，请联系我们，本站将在三个工作日内改正。'),110); ?></p>
    </div>
    <div class="foot3">
      <h3 class="es">联系我们</h3>
      <ul>
        <?php if(new_option('footer_qq')){ ?>
        <li class="es"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo new_option('footer_qq','1570457334')?>&site=qq&menu=yes"><img src="http://pub.idqqimg.com/wpa/images/counseling_style_52.png"/></a><?php echo new_option('footer_qq','1570457334')?></li>
        <?php }else{ ?>
        <li class="es"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1570457334&site=qq&menu=yes"><img src="http://pub.idqqimg.com/wpa/images/counseling_style_52.png"/></a>1570457334</li>
        <?php } ?>
        <?php if(new_option('footer_weibo')){ ?>
        <li class="es">
          <wb:follow-button uid="<?php echo new_option('footer_weibo','5769397258')?>" type="red_3" width="100%" height="24" style="margin-top: 4px; display: block;"></wb:follow-button>
        </li>
        <?php }else{ ?>
        <li class="es">
          <wb:follow-button uid="5769397258" type="red_3" width="100%" height="24" style="margin-top: 4px; display: block;"></wb:follow-button>
        </li>
        <?php } ?>
        <?php if(new_option('footer_qun1key')){ ?>
        <li class="es"><a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=<?php echo new_option('footer_qun1key','fa2df12c1beebc7bc3e1e1e097a2260440757ece5a92e815f2139a6929fb18b2')?>"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png"/></a><?php echo new_option('footer_qun1','137183109')?></li>
        <?php }else{ ?>
        <li class="es"><a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=fa2df12c1beebc7bc3e1e1e097a2260440757ece5a92e815f2139a6929fb18b2"><img src="http://pub.idqqimg.com/wpa/images/group.png"/></a>137183109</li>
        <?php } ?>
        <?php if(new_option('footer_qun2key')){ ?>
        <li class="es"><a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=<?php echo new_option('footer_qun2key')?>"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png"/></a><?php echo new_option('footer_qun2'); ?></li>
        <?php } ?>
      </ul>
    </div>
    <div class="foot4">
      <?php
	  if(new_option('radio_pay')=='weixin'){
		  $radio_pay ='微信钱包';
		  $radio_src =new_option('weixin_img',get_template_directory_uri().'/images/weixin_img.jpg');
		}elseif(new_option('radio_pay')=='qq'){
		  $radio_pay ='QQ钱包';
		  $radio_src =new_option('qq_img',get_template_directory_uri().'/images/qq_img.jpg');
		}else{
		  $radio_pay ='支付宝';
		  $radio_src =new_option('zhifu_img',get_template_directory_uri().'/images/zhifu_img.jpg');
		}
	  ?>
      <h3 class="es">打赏站长<span>(<b><?php echo $radio_pay; ?></b>)</span></h3>
      <img src="<?php echo $radio_src; ?>" width="124" height="124"/>
    </div>
  </div>
  <div class="bottom">
    <div class="ma">
      <?php echo '©' . new_option('footer_time','2014') . '-' . date('Y', time()) . ' <a href="http://www.newyige.com/">New一个</a> 版权所有 ICP备案号：' . new_option('footer_filing','没备案的熊孩子') . ' ' . new_option('footer_statistics') . '<span class="fr">Theme by <a href="http://www.newyige.com/">New一个</a></span>'; ?>
    </div>
  </div>
</div>
<div class="back">
<div class="back_info">
<div class="back_subinfo">
<?php if((is_page()&&comments_open() )||(is_single() &&comments_open())){?>
<span class="back_comment comment"><a href="#comments"><i class="icon icon-pinglun"></i></a></span>
<?php }?>
<span class="back_top"><a><i class="icon icon-fanhuidingbu"></i></a></span>
</div></div>
</div>
<script type="text/javascript">
$(".reward a,.foot4 img").click(function() {
	layer.tab({
	  area: ['450px', '450px'],
	  maxWidth: '20',
	  tab: [{
		title: '支付宝', 
		content: '<img src="<?php echo new_option('zhifu_img', get_template_directory_uri().'/images/zhifu_img.jpg'); ?>" width="320" height="320" style="margin: 40px auto;display: block;"/>'
	  }, {
		title: '微信钱包', 
		content: '<img src="<?php echo new_option('weixin_img', get_template_directory_uri().'/images/weixin_img.jpg'); ?>" width="320" height="320" style="margin: 40px auto;display: block;"/>'
	  }, {
		title: 'QQ钱包', 
		content: '<img src="<?php echo new_option('qq_img', get_template_directory_uri().'/images/qq_img.jpg'); ?>" width="320" height="320" style="margin: 40px auto;display: block;"/>'
	  }]
	});
});
//~ 百度分享
with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];
<?php new_option('footer_script'); ?>
jQuery(".header .loading span").animate({
	width: "100%"
}, 800, function() {
	setTimeout(function() {
		jQuery(".header .loading span").fadeOut(500);
	});
});
</script>
</body></html>